package com.pxmeta.party.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("kt_activity_ad_astra_record")
@ApiModel(value = "星际探险记录", description = "星际探险记录")
@Data
public class ActivityAdAstraRecord {

    @ApiModelProperty("主键")
    @TableId(type = IdType.NONE)
    private Long id;

    @ApiModelProperty("成功的id")
    private Long successId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;

}
